import Vuex from 'vuex'
import Vue from 'vue'
import home from './modules/home'
import search from './modules/search'
import detail from './modules/detail'
import user from './modules/user'
import trade from './modules/trade'
Vue.use(Vuex)

const state = {}
const actions = {

}
const mutations = {}
const getters = {}

export default new Vuex.Store({
  state,
  actions,
  mutations,
  getters,
  modules:{
    home,
    search,
    detail,
    user,
    trade
  }
})